@echo off
echo [                USB Device Driver version 2.3                   ]
echo.
if not exist "%usbdetect%" goto NONE
if "%usbdetect%"=="yes" set USB=EXIST
if "%usbdetect%"=="no" set USB=NONE
if "%usbcddetect%"=="cdyes" set USB=CDEXIST
goto %usb%

:EXIST
echo USB [ 1.0 ] Flash Memory Device was Installed!
echo.
echo Flash Drive Driver: 2FZ (c) USB-Z Flash Memory Driver
echo USB Version: 1.1a
echo USB Class: Pendrive
echo.
echo.
if not exist "%usbcddetect%" set USB=CDNONE
if "%usbcddetect%"=="CDYES" set USB=CDEXIST
goto %USB%

:NONE
echo Error! USB Flash Memory Device was not installed.
echo.
echo -If you has inserted the device, but still doesn't detect it,
echo  your system in running in safe mode. Or else, retry to insert it
echo  in the next session.
echo.
if not exist "%usbcddetect%" set USB=CDNONE
if "%usbcddetect%"=="CDYES" set USB=CDEXIST
goto %USB%

:cdexist
echo USB [ 1.0 ] CD-ROM Device was Installed!
echo.
echo Flash Drive Driver: 2FZ (c) USB-X CD-ROM Driver
echo USB Version: 1.4a
echo USB Class: USB CD-ROM
echo.
echo.
goto FINISH

:CDNONE
echo No USB CD-ROM Device was Installed!
goto finish

:finish
echo [ USB Flash Device Driver was brought to you by: 2FZ MicroPCs (c)]